function [F,g,G]=Fun1(x)
%a simple test function

F = x(1)^4+x(2)^4;
g = [4*x(1)^3,4*x(2)^3]';
G =[12*x(1)^2,0;0,12*x(2)^2];
end